package com.jiantong.lawEnforcing.service;

import com.jiantong.lawEnforcing.model.WritRelevant;
import io.terminus.common.model.Response;

/**
 * 文书说明信息
 * Created by mz03 on 2017/8/17.
 */
public interface WritRelevantService {

    /**
     * id 查找
     * @param id
     * @return News
     */
    Response<WritRelevant> finById(Long id);


    /**
     * 创建
     * @param writRelevant 单据对象
     * @return 主键 id
     */
    Response<Long> create(WritRelevant writRelevant);



    /**
     * 更新
     * @param writRelevant 单据对象
     * @return true or false
     */
    Response<Boolean> update(WritRelevant writRelevant);

}
